/**
 *  Copyright (c) 2011, IPC Studio, USTC, All rights reserved
 *  FileName: common.h
 *  Author: chengximing1989@gmail.com
 *  DateCreated: 2011-8-8
 *  Brief: global definition used in this library
 */

#ifndef COMMON_H_
#define COMMON_H_

#include <iostream>
#include <string>
#include <vector>
#include <stdio.h>
#include <stdlib.h>

using namespace std;

#define LIBLYRICS_NAMESPACE_BEGIN      namespace liblyrics {
#define LIBLYRICS_NAMESPACE_END        }

#define GB2312 936
#define CODINGTYPE int
#define NOTSURE 0
#define ASCII 1
#define UTF8 2
#define UTF8NOBOM 3
#define UTF16 4
#define UTF16BIGENDIA 5

#define LIBLYRICSMVER 1
#define LIBLYRICSSVER 0
#define LIBLYRICSMINVER 0
#define LIBLYRICSBETA 0

#endif
